<li class="media">
  <div class="pull-left">
    <span class="glyphicon glyphicon-volume-down media-object"></span>
  </div>
  <div class="media-body">
    <div class="notification-body">
      {% set data = notification.content %}
       {% if data.type == 'changeOk' %}
          {{'您已成功充值%value%%coin_name%,前往'|trans({'%value%':data.value,'%coin_name%':setting('coin.coin_name')|default('虚拟币'|trans)})}} <a href="{{path('my_coin')}}">{{'我的账户'|trans}}</a> {{'查看'|trans}}
       {% elseif data.type == 'deduct' %}
          {{'您被扣除%value%%coin_name%,前往'|trans({'%value%':data.value,'%coin_name%':setting('coin.coin_name')|default('虚拟币'|trans)})}} <a href="{{path('my_coin')}}">{{'我的账户'|trans}}</a> {{'查看'|trans}}
       {% elseif data.type == 'changing' %}
          {{'您已成功兑换%value%%coin_name%,前往'|trans({'%value%':data.value,'%coin_name%':setting('coin.coin_name')|default('虚拟币'|trans)})}} <a href="{{path('my_coin')}}">{{'我的账户'|trans}}</a> {{'查看'|trans}}
       {% endif %}
    </div>
    <div class="notification-footer">
      {{ notification.createdTime|date_format }} 
    </div>
  </div>
</li>
